package com.czd.support.model;

import java.util.Date;
import org.apache.ibatis.type.Alias;
import com.czd.base.model.Page;

/**
 * @Description 实体类
 * @Author JinMa.Xiao
 * @Date 2015年6月18日 下午3:33:48
 * @Version v1.0
 */
@Alias("company")
public class Company extends Page {

	private static final long serialVersionUID = 5548652613802699703L;
	/**
	 * 自增主键
	 */
	private int id;
	/**
	 * 编号
	 */
	private String code;
	/**
	 * 公司名称
	 */
	private String name;
	/**
	 * logo路径
	 */
	private String logoUrl;
	/**
	 * 访问路径
	 */
	private String pathUrl;
	/**
	 * 是否有导航条（0：没有；1：有）
	 */
	private int hasNav;
	/**
	 * 创建人
	 */
	private int createUser;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 修改人
	 */
	private int updateUser;
	/**
	 * 修改时间
	 */
	private Date updateTime;

	private String description;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getLogoUrl() {
		return logoUrl;
	}

	public void setLogoUrl(String logoUrl) {
		this.logoUrl = logoUrl;
	}

	public String getPathUrl() {
		return pathUrl;
	}

	public void setPathUrl(String pathUrl) {
		this.pathUrl = pathUrl;
	}

	public int getHasNav() {
		return hasNav;
	}

	public void setHasNav(int hasNav) {
		this.hasNav = hasNav;
	}

	public int getCreateUser() {
		return createUser;
	}

	public void setCreateUser(int createUser) {
		this.createUser = createUser;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public int getUpdateUser() {
		return updateUser;
	}

	public void setUpdateUser(int updateUser) {
		this.updateUser = updateUser;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Override
	public String toString() {
		return "Company [id=" + id + ", code=" + code + ", name=" + name
				+ ", logoUrl=" + logoUrl + ", pathUrl=" + pathUrl + ", hasNav="
				+ hasNav + ", createUser=" + createUser + ", createTime="
				+ createTime + ", updateUser=" + updateUser + ", updateTime="
				+ updateTime + ", description=" + description + "]";
	}

}
